package com.ctshk.rpc.system.entity;


import com.ctshk.common.constant.ElasticSearchConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;


/**
 * @author Lenovo
 */

@Data
@Accessors(chain = true)
@ApiModel(value = "AreaCodeDTO对象", description = "国家区域对象")
@Document(indexName = ElasticSearchConstant.SYSTEM_AREA)
public class SysAreaDTO implements Serializable {

    private static final long serialVersionUID = 5376875152453773664L;

    @ApiModelProperty(value = "数据id")
    private Long id;

    @ApiModelProperty(value = "国家编码")
    private String countryCode;

    @ApiModelProperty(value = "国家简体")
    private String countrySimple;

    @ApiModelProperty(value = "国家繁体")
    private String countryTraditional;

    @ApiModelProperty(value = "国家英文")
    private String countryEn;

    @ApiModelProperty(value = "国家拼音")
    private String countryPinyin;

    @ApiModelProperty(value = "省份编码")
    private String provinceCode;

    @ApiModelProperty(value = "省份简体")
    private String provinceSimple;

    @ApiModelProperty(value = "省份繁体")
    private String provinceTraditional;

    @ApiModelProperty(value = "省份拼音")
    private String provincePinyin;

    @ApiModelProperty(value = "省份英文")
    private String provinceEn;

    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    @ApiModelProperty(value = "城市简体")
    private String citySimple;

    @ApiModelProperty(value = "城市繁体")
    private String cityTraditional;

    @ApiModelProperty(value = "城市拼音")
    private String cityPinyin;

    @ApiModelProperty(value = "城市英文")
    private String cityEn;

    @ApiModelProperty(value = "地区中文")
    private String areaSimple;

    @ApiModelProperty(value = "地区繁体")
    private String areaTraditional;

    @ApiModelProperty(value = "地区拼音")
    private String areaPinyin;

    @ApiModelProperty(value = "地区英文")
    private String areaEn;

    @ApiModelProperty(value = "层级")
    private Integer level;

}
